package org.metis4j.framework.mvc;

import java.lang.reflect.Method;
import java.util.regex.Matcher;

public class Handler {

	private Class<?> actionClass;
	private Method actionMethod;
	private Matcher requestPathMatcher;

	public Handler(Class<?> actionClass, Method actionMethod) {
		super();
		this.actionClass = actionClass;
		this.actionMethod = actionMethod;
	}

	public Class<?> getActionClass() {
		return actionClass;
	}

	public void setActionClass(Class<?> actionClass) {
		this.actionClass = actionClass;
	}

	public Method getActionMethod() {
		return actionMethod;
	}

	public void setActionMethod(Method actionMethod) {
		this.actionMethod = actionMethod;
	}

	public Matcher getRequestPathMatcher() {
		return requestPathMatcher;
	}

	public void setRequestPathMatcher(Matcher requestPathMatcher) {
		this.requestPathMatcher = requestPathMatcher;
	}

}
